package com.hbm.usercenter.activity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;

import com.hbm.usercenter.R;
import com.hbm.usercenter.base.BaseActivityCommon;
import com.hbm.usercenter.utils.UIUtils;

public class DetailActivity extends BaseActivityCommon {

    public static final String ID_DATA = "id_data";

    @Override
    protected void initView() {

        setContentView(R.layout.activity_detail);
    }

    @Override
    protected void init() {
        Intent intent = getIntent();

        Bundle bundle = intent.getExtras();
        String price = bundle.getString(ID_DATA);
        Toast.makeText(UIUtils.getContext(), price, Toast.LENGTH_SHORT).show();
    }
}
